package com.ruoyi.fitsculpt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运动计划详情对象 easyfit_exercise_plan_details
 *
 * @author metaee
 * @date 2025-02-27
 */
@ApiModel("运动计划详情对象")
public class EasyfitExercisePlanDetails extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 详情ID
     */
    @ApiModelProperty("详情ID")
    @Excel(name = "详情ID")
    private Long detailId;

    /**
     * 计划ID
     */
    @ApiModelProperty("计划ID")
    @Excel(name = "计划ID")
    private Long planId;

    /**
     * 运动ID
     */
    @ApiModelProperty("运动ID")
    @Excel(name = "运动ID")
    private Long exerciseId;

    /**
     * 1-7表示周一到周日
     */
    @ApiModelProperty("1-7表示周一到周日")
    @Excel(name = "1-7表示周一到周日")
    private Long dayOfWeek;

    /**
     * 组数
     */
    @ApiModelProperty("组数")
    @Excel(name = "组数")
    private Long sets;

    /**
     * 每组次数
     */
    @ApiModelProperty("每组次数")
    @Excel(name = "每组次数")
    private Long reps;

    /**
     * 时长(分钟)
     */
    @ApiModelProperty("时长(分钟)")
    @Excel(name = "时长(分钟)")
    private Long duration;

    public Long getDetailId() {
        return detailId;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Long getPlanId() {
        return planId;
    }

    public void setPlanId(Long planId) {
        this.planId = planId;
    }

    public Long getExerciseId() {
        return exerciseId;
    }

    public void setExerciseId(Long exerciseId) {
        this.exerciseId = exerciseId;
    }

    public Long getDayOfWeek() {
        return dayOfWeek;
    }

    public void setDayOfWeek(Long dayOfWeek) {
        this.dayOfWeek = dayOfWeek;
    }

    public Long getSets() {
        return sets;
    }

    public void setSets(Long sets) {
        this.sets = sets;
    }

    public Long getReps() {
        return reps;
    }

    public void setReps(Long reps) {
        this.reps = reps;
    }

    public Long getDuration() {
        return duration;
    }

    public void setDuration(Long duration) {
        this.duration = duration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("detailId", getDetailId())
                .append("planId", getPlanId())
                .append("exerciseId", getExerciseId())
                .append("dayOfWeek", getDayOfWeek())
                .append("sets", getSets())
                .append("reps", getReps())
                .append("duration", getDuration())
                .append("createTime", getCreateTime())
                .toString();
    }
}
